#pragma once

#include <wx/wx.h>

class DictBuilder
{

public:

  virtual bool addHeadword( wxString word, wxString def) = 0;

  virtual bool finish(){ return true; };
  virtual bool write_info() = 0;


  // Header
  wxString title;
  wxString author;
  wxString license;
  wxString origLang;
  wxString destLang;
  wxString description;
  wxString email;
  wxString website;
  wxString version;
  
  wxString defaultCharset;
  wxString sourceCharset;
  wxString targetCharset;

  wxString creationDate;
  wxString comments;
  wxString lastUpdate;
  wxString misc;

protected:
  DictBuilder(){};
  virtual ~DictBuilder(){};

};
